<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/RentAWorker.Business.DTO" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/RentAWorker.Business.DTO" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:59123/RentRequests.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/RentAWorker.DataAccess.Entities" />
  <xs:complexType name="SearchResourceRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="FromDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Location" type="xs:int" />
      <xs:element minOccurs="0" name="MachineType" type="xs:int" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="State" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ToDate" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="SearchResourceRequest" nillable="true" type="tns:SearchResourceRequest" />
  <xs:complexType name="SearchResourceResponse">
    <xs:sequence>
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/RentAWorker.DataAccess.Entities" minOccurs="0" name="MachineResources" nillable="true" type="q1:ArrayOfMachine" />
      <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/RentAWorker.DataAccess.Entities" minOccurs="0" name="PersonResource" nillable="true" type="q2:ArrayOfWorker" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="SearchResourceResponse" nillable="true" type="tns:SearchResourceResponse" />
  <xs:complexType name="RentalServiceRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="CancelRequest" type="xs:boolean" />
      <xs:element minOccurs="0" name="CustomerId" type="xs:int" />
      <xs:element minOccurs="0" name="FromDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="LocationId" type="xs:int" />
      <xs:element minOccurs="0" name="ResourceId" type="xs:int" />
      <xs:element minOccurs="0" name="ToDate" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RentalServiceRequest" nillable="true" type="tns:RentalServiceRequest" />
  <xs:complexType name="RentalServiceResponse">
    <xs:sequence>
      <xs:element minOccurs="0" name="Information" nillable="true" type="xs:string" />
      <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/RentAWorker.DataAccess.Entities" minOccurs="0" name="Services" nillable="true" type="q3:ArrayOfRentalService" />
      <xs:element minOccurs="0" name="Succeeded" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RentalServiceResponse" nillable="true" type="tns:RentalServiceResponse" />
  <xs:complexType name="RentalServiceForCustomerRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="CustomerId" type="xs:int" />
      <xs:element minOccurs="0" name="RentalServiceId" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RentalServiceForCustomerRequest" nillable="true" type="tns:RentalServiceForCustomerRequest" />
  <xs:complexType name="RentalServicesForCustomerRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="CustomerId" type="xs:int" />
      <xs:element minOccurs="0" name="FromDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="ToDate" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RentalServicesForCustomerRequest" nillable="true" type="tns:RentalServicesForCustomerRequest" />
  <xs:complexType name="RentalServiceChangeRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="Cancel" type="xs:boolean" />
      <xs:element minOccurs="0" name="FromDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="RentalServiceId" type="xs:int" />
      <xs:element minOccurs="0" name="ToDate" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RentalServiceChangeRequest" nillable="true" type="tns:RentalServiceChangeRequest" />
</xs:schema>